package cn.kgc.client;

import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2022年12月09日10:23
 */
@FeignClient(value = "mall-wms",path = "/wms",fallback = WmsWareSkuFeignClientImpl.class)
public interface WmsWareSkuFeignClient {

    @GetMapping("/WareSku/hasStock")
    Result<Boolean> hasStock(@RequestParam(name = "skuId") Long skuId);
}
